/**
 * 商城DIY路由
 */
export default [
  {
    path: '/mall',
    meta: { requiresAuth: true },
    children: [
      {
        path: 'diy-designer',
        name: 'MallDiyDesigner',
        component: () => import('@/views/mall/DiyDesigner.vue'),
        meta: { title: '商城装修' }
      },
      {
        path: 'templates',
        name: 'MallTemplates',
        component: () => import('@/views/mall/Templates.vue'),
        meta: { title: '装修模板' }
      },
      {
        path: 'pages',
        name: 'MallPages',
        component: () => import('@/views/mall/Pages.vue'),
        meta: { title: '页面管理' }
      },
      {
        path: 'components',
        name: 'MallComponents',
        component: () => import('@/views/mall/Components.vue'),
        meta: { title: '组件库' }
      }
    ]
  }
]

